home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
prog
/
dopussdk
/
include
/
dopus
/
diskio.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-08-28
|
1KB
|
36 lines
#ifndef _DOPUS_DISKIO
#define _DOPUS_DISKIO
/*****************************************************************************
Disk I/O
*****************************************************************************/
typedef struct
{
struct MsgPort *dh_Port; // Message port
struct IOExtTD *dh_IO; // IO request
struct FileSysStartupMsg *dh_Startup; // Startup message
struct DosEnvec *dh_Geo; // Disk geometry
char dh_Name[32]; // Disk name
char dh_Device[32]; // Device name
struct InfoData dh_Info; // Disk information
unsigned long dh_Result; // dh_Info is valid
unsigned long dh_Root; // Root block
unsigned long dh_BlockSize; // Block size
struct DateStamp dh_Stamp; // not used
} DiskHandle;
// Some third-party DOS types
#define ID_AFS_PRO 0x41465301
#define ID_AFS_USER 0x41465302
#define ID_AFS_MULTI 0x6D754146
#define ID_PFS_FLOPPY 0x50465300
#define ID_PFS_HARD 0x50465301
DiskHandle *OpenDisk(char *,struct MsgPort *);
void CloseDisk(DiskHandle *);
#endif